from common import *

def PlusFunc(in0,in1,out0):
    while True:

        inList = {in0:None,in1:None}
        val = []
        while (inList):
            alt = Alternation([inList])
            (ret, msg) = alt.select()
            val.append(msg)
            del inList[ret]

        out0(val[0] + val[1])

